home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group93b.txt
/
000080_icon-group-sender _Wed May 5 09:05:31 1993.msg
< prev
next >
Wrap
Internet Message Format
|
1993-06-16
|
2KB
Received: by cheltenham.cs.arizona.edu; Tue, 11 May 1993 18:35:17 MST
Date: 5 May 93 09:05:31 GMT
From: mercury.hsi.com!mlfarm!cs.arizona.edu!icon-group@uunet.uu.net (Steve Holden)
Subject: Re: Icon fan club ...
Message-Id: <4052.9305050905@desktop.desktop.co.uk>
Sender: icon-group-request@cs.arizona.edu
To: icon-group@cs.arizona.edu
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
Richard l. Goerwitz (goer@midway.uchicago.edu) writes:
> I am not sure what you're talking about when it comes to {}, except in
> the sense that {} can always be used to group a code block, just as in
> C. Automatic semicolon insertion is also an interesting issue. Most
> inveterate Icon programmers find it silly to have to insert a semicolon
> after every line. We mainly use the semicolon to separate two expres-
> sions abutted on the same line. Generally it is lacking from idiomatic
> Icon code, and with good reason: It is generally superfluous even in
> languages that force one to use it!
Personally my only problem with the {} braces is that I can't make
declarations inside the code blocks they enbrace. This tends to clutter
up the larger procedures with declarations for locals which are only used
with limited scope.
Not knowing the guts of the systems I'm not sure how easy it would be to
alter Icon's syntax and semantics. Would this be a reasonable request
for enhancement?
regards
Steve
+---------------------------------+-------------------------------------+
| Steve Holden, Technical Director| Desktop Connection Limited |
| steve@desktop.co.uk | Manchester Science Park |
|---------------------------------+ Lloyd Street North |
| Publish and be damned. Publish | Manchester England M15 4EN |
| electronically and be heard. | Tel: +44 61 227 9055 Fax: 226 4922 |
+---------------------------------+-------------------------------------+